﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DevExpress.Xpo;

namespace WROA.Models.Entitys
{
    public class Room : XPObject
    {
        private string room_name;
        [DbType("nvarchar(50)")]
        public string Room_name { get; set; }

        private int room_capacity;
        [DbType("int")]
        public int Room_capacity { get; set; }
        
        private string room_state;
        [DbType("nvarchar(50)")]
        public string Room_state { get; set; }

        [Association("MeetingRoomRoom", typeof(MeetingRoom))]
        public XPCollection meetingrooms
        {
            get
            {
                return GetCollection("meetingrooms");
            }
        }
    }
}